#!/usr/bin/env python

import resource.string.app

from .._console import Console

class Tester(Console):
    
    def run(self):
        self.greeting(resource.string.app)
        
        self.test()
        
        self.farewell()

    def test(self):
        self.progress('Test modem existence... ')
        modem = self.loadModem()
        if modem: self.success('OK ^_^v\n')
        else: self.fail('Error >_<\n') 
        